#include "WorkingDialog.h" int SaGetAffectedRowCount(pSgeWorkCallData p);
SaGetAffectedRowCount
returns the specified request's affected row count for an object binding and works for all DSQL Objects including those that perform Select, Insert, Update and Delete. It also returns the number of rows selected in a query for a Stored Procedure. Its value is not valid for Insert, Update and Delete.
Depending upon its use, SaGetAffectedRowCount
returns the number of rows selected in the specified select statement for Sybase Stored Procedures which have multiple result groups.
int nrows; pSgeWorkCallData p; .... nrows = SaGetAffectedRowCount(p);